<link rel="stylesheet" href="../core/resource/components/swiper/swiper.min.css?v=3">
<style>
.swiper-slide{line-height:36px;color:#999;font-size:0.7rem;text-align:center}
.swiper-slide-prev,.swiper-slide-next {color:#ddd;font-size:0.7rem}
.swiper-slide-active {color:#333;font-size:0.75rem}
.popup .popup-body .popup-bottom {
    min-height: auto;
	padding-bottom:1.5rem;
}
.fui-cell-group .fui-cell .fui-input {
   background-color: #f2f2f2;
   height: auto;
   line-height: 1.6;
   padding:0.3rem 0.5rem;
   border-radius: 1rem;
}
button.weui_btn, input.weui_btn {border-radius: 1rem;margin: auto;margin-top:0.5rem;width:80%;}
.fui-cell-group .fui-cell .fui-cell-info select {
	background-color: #f2f2f2;
	height: auto;
	line-height: 1.6;
    padding:0.3rem 0.5rem;
	 border-radius: 13rem;
}
.swiper-container{width:100%;}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content'>
			<div style="padding:0.5rem;">
			<div class="fui-cell-group radius" style="margin-top:0;padding-bottom:0.5rem">
				<div class="fui-cell" ng-click="image(pagedata.member,'avatar')">
					<div class="fui-cell-text bold">我的头像</div>
					<div class="fui-cell-remark noremark">
						<img style="height:3rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" id="avatar"/>
					</div>
				</div>
				<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_ailiao/member.myinfo/')">
					<div class="fui-cell-text bold">我的相册</div>
					<div class="fui-cell-remark">{{pagedata.member.picsnum}}张</div>
				</a>
				<div class="weui_cells weui_cells_form" style="margin-top:0">
						<div class="weui_cell" style="padding-top:0">
							<div class="weui_cell_bd weui_cell_primary">
								<div class="weui_uploader">
									<div class="weui_uploader_bd">
										<ul class="weui_uploader_files">
											<li ng-repeat="p in pagedata.member.images track by $index" class="weui_uploader_file" style="background-image:url({{tomedia(p)}})">
												<div class="upbtn" >
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.member.splice($index-1,0,p);pagedata.member.splice($index+1,1)">上移</a>
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.member.splice($index,1)">删除</a>
												</div>
											</li>
										</ul>
										<div class="weui_uploader_input_wrp" href="javascript:;" ng-click="images(pagedata.member,'images',true)">
										</div>
									</div>
								</div>
							</div>
						</div>
				</div>
				<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.upimg()">保存头像/相册</button>
			</div>
			<div class="fui-cell-group radius">
				<div class="fui-cell">
					<div class="fui-cell-text bold">内心独白</div>
				</div>
				<div class="fui-cell">
				<div class="fui-cell-info">
				<div class="search-input" style="height:1.6rem" ng-click="pagedata.showdesc=true">
						<i class="icon icon-bianji bold" style="line-height: 1.7rem;"></i>
						<input type="search" placeholder="介绍一下自己，让异性更快了解你" class="search" ng-model="pagedata.member.desc" style="height:1.6rem;border: 0;text-align: left; color: #999; font-size:0.6rem;background:#f2f2f2;border-radius: 1rem;" />
				</div>
				</div>
				</div>
			</div>
			<div class="fui-cell-group radius">
				<a class="fui-cell">
					<div class="fui-cell-text bold">基本资料</div>
				</a>
				<a class="fui-cell external" href="javascript:;" ng-click="pagedata.shownickname=true;">
					<div class="fui-cell-text">昵称<span style="color:#F00;">*</span></div>
					<div class="fui-cell-remark">{{pagedata.member.nickname}}</div>
				</a>
				<a class="fui-cell external" href="javascript:;" ng-click="pagedata.showmobile=true;">
					<div class="fui-cell-text">手机号<span style="color:#F00;">*</span></div>
					<div class="fui-cell-remark">{{pagedata.member.mobile}}</div>
				</a>
				<a class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('sex',3);">
					<div class="fui-cell-text">性别<span style="color:#F00;">*</span></div>
					<div class="fui-cell-remark">{{pagedata.sex[pagedata.member.sex]}}</div>
				</a>
				<a class="fui-cell external" href="javascript:;" ng-click="pagedata.showbirth=true;">
					<div class="fui-cell-text">生日<span style="color:#F00;">*</span></div>
					<div class="fui-cell-remark">{{pagedata.member.birth.year}}-{{pagedata.member.birth.month}}-{{pagedata.member.birth.day}}</div>
				</a>
				<a class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('height',3);">
					<div class="fui-cell-text">身高<span style="color:#F00;">*</span></div>
					<div class="fui-cell-remark">{{pagedata.height[pagedata.member.height]}}</div>
				</a>
				<a class="fui-cell external" href="javascript:;" ng-click="pagedata.getprovince();pagedata.showpcd=true;">
					<div class="fui-cell-text">所在城市<span style="color:#F00;">*</span></div>
					<div class="fui-cell-remark">{{pagedata.member.pcd.province}} {{pagedata.member.pcd.city}}</div>
				</a>
                <a class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('xueli',3);">
					<div class="fui-cell-text">学历</div>
					<div class="fui-cell-remark">{{pagedata.xueli[pagedata.member.xueli]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_goufang!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('goufang',3);">
					<div class="fui-cell-text">购房情况</div>
					<div class="fui-cell-remark">{{pagedata.goufang[pagedata.member.goufang]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_gouche!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('gouche',3);">
					<div class="fui-cell-text">购车情况</div>
					<div class="fui-cell-remark">{{pagedata.gouche[pagedata.member.gouche]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_xiyan!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('xiyan',3);">
					<div class="fui-cell-text">是否吸烟</div>
					<div class="fui-cell-remark">{{pagedata.xiyan[pagedata.member.xiyan]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_hejiu!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('hejiu',3);">
					<div class="fui-cell-text">是否喝酒</div>
					<div class="fui-cell-remark">{{pagedata.hejiu[pagedata.member.hejiu]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_jh_time!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('jh_time',3);">
					<div class="fui-cell-text">何时结婚</div>
					<div class="fui-cell-remark">{{pagedata.jh_time[pagedata.member.jh_time]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_youboy!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('youboy',3);">
					<div class="fui-cell-text">有没有孩子</div>
					<div class="fui-cell-remark">{{pagedata.youboy[pagedata.member.youboy]}}</div>
				</a>
				<a ng-if="pagedata.pluginset.no_wanboy!=1" class="fui-cell external" href="javascript:;" ng-click="pagedata.goselect('wanboy',3);">
					<div class="fui-cell-text">是否想要孩子</div>
					<div class="fui-cell-remark">{{pagedata.wanboy[pagedata.member.wanboy]}}</div>
				</a>
			</div>
			</div>
	</div>
</div>
<div ng-if="pagedata.showdesc" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showdesc=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">内心独白</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info c000">
						<textarea rows="5" placeholder="100字以内" ng-model="pagedata.member.desc"></textarea>
					</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showdesc=false;pagedata.goset(1,pagedata.member.desc);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.gonext(1)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.shownickname" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.shownickname=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">昵称</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info c000">
						<input type="text" ng-model="pagedata.member.nickname" placeholder="昵称" class="fui-input"/>
					</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.shownickname=false;pagedata.goset(2,pagedata.member.nickname);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.shownickname=false;pagedata.gonext(2)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showmobile" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showmobile=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">手机号</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info c000">
						<input type="text" ng-model="pagedata.member.mobile" placeholder="手机号" class="fui-input"/>
					</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showmobile=false;pagedata.goset(2,pagedata.member.mobile);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showmobile=false;pagedata.gonext(2)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showsex" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showsex=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">性别</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-sex" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div class="swiper-slide">无</div>	
				<div class="swiper-slide">男</div>	
				<div class="swiper-slide">女</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showsex=false;pagedata.goset(3,pagedata.member.sex);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showsex=false;pagedata.gonext(3)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showbirth" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showbirth=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">出生日期</div>
				</div>
				<div class="fui-cell">
				<div class="fui-cell-label">出生日期</div>				
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.member.birth.year" class="form-control tpl-province">
								<option value="" selected="selected">年</option>
								<option ng-repeat="value in pagedata.years" value="{{value}}" ng-selected="pagedata.member.birth.year==value">{{value}}</option>
								</select>
							</div>
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.member.birth.month" class="form-control tpl-city">
								<option value="" selected="selected">月</option>
								<option ng-repeat="value in pagedata.months" value="{{value}}" ng-selected="pagedata.member.birth.month==value">{{value}}</option>
								</select>
							</div>
							<div class="fui-cell-label" style="width:28%">
								<select ng-model="pagedata.member.birth.day" class="form-control tpl-district">
								<option value="" selected="selected">日</option>
								<option ng-repeat="value in pagedata.days" ng-show="showday(pagedata.member.birth.year,pagedata.member.birth.month,value)" value="{{value}}" ng-selected="pagedata.post.birth.day==value">{{value}}</option>
								</select>
							</div>
				
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showbirth=false;pagedata.goset(4,pagedata.member.birth);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showbirth=false;pagedata.gonext(4)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showheight" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showheight=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">身高</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-height" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.height" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showheight=false;pagedata.goset(5,pagedata.member.height);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showheight=false;pagedata.gonext(5)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showshouru" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showshouru=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">月收入</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-shouru" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.shouru" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showshouru=false;pagedata.goset(6,pagedata.member.houru);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showshouru=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showxueli" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showxueli=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">学历</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-xueli" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.xueli" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showxueli=false;pagedata.goset(6,pagedata.member.xueli);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showxueli=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showpcd" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showpcd=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">工作地区</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-label">所在城市</div>		
								<div class="fui-cell-label" style="width:50%">
									<select ng-model="pagedata.member.pcd.province" class="form-control tpl-province">
									<option value="" selected="selected">省份</option>
									<option ng-repeat="(value,data) in pagedata.province" value="{{value}}" ng-selected="pagedata.member.pcd.province==value">{{value}}</option>
									</select>
								</div>
								<div class="fui-cell-label" style="width:50%">
									<select ng-model="pagedata.member.pcd.city" class="form-control tpl-city">
									<option value="" selected="selected">城市</option>
									<option ng-repeat="(value,data) in pagedata.province[pagedata.member.pcd.province]" value="{{value}}" ng-selected="pagedata.member.pcd.city==value">{{value}}</option>
									</select>
								</div>
					
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showpcd=false;pagedata.goset(4,pagedata.member.birth);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showpcd=false;pagedata.gonext(4)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showjiguan" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showjiguan=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">工作地区</div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-label">所在城市</div>		
								<div class="fui-cell-label" style="width:50%">
									<select ng-model="pagedata.member.jiguan.province" class="form-control tpl-province">
									<option value="" selected="selected">省份</option>
									<option ng-repeat="(value,data) in pagedata.province" value="{{value}}" ng-selected="pagedata.member.jiguan.province==value">{{value}}</option>
									</select>
								</div>
								<div class="fui-cell-label" style="width:50%">
									<select ng-model="pagedata.member.jiguan.city" class="form-control tpl-city">
									<option value="" selected="selected">城市</option>
									<option ng-repeat="(value,data) in pagedata.province[pagedata.member.jiguan.province]" value="{{value}}" ng-selected="pagedata.member.jiguan.city==value">{{value}}</option>
									</select>
								</div>
					
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showjiguan=false;pagedata.goset(4,pagedata.member.birth);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showjiguan=false;pagedata.gonext(4)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showisjiehun" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showisjiehun=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">婚况</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-isjiehun" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.jiehun" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showisjiehun=false;pagedata.goset(6,pagedata.member.isjiehun);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showisjiehun=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showxingzuo" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showxingzuo=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">星座</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-xingzuo" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.xingzuo" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showxingzuo=false;pagedata.goset(6,pagedata.member.xingzuo);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showxingzuo=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showminzu" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showminzu=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">民族</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-minzu" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.minzu" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showminzu=false;pagedata.goset(6,pagedata.member.minzu);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showminzu=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showzhiwei" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showzhiwei=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">职业</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-zhiwei" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.zhiwei" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showzhiwei=false;pagedata.goset(6,pagedata.member.zhiwei);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showzhiwei=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showweight" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showweight=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">体重</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-weight" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.weight" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showweight=false;pagedata.goset(6,pagedata.member.weight);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showweight=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showtixing" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showtixing=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">体型</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-tixing" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.tixing" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showtixing=false;pagedata.goset(6,pagedata.member.tixing);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showtixing=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showgoufang" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showgoufang=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">购房情况</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-goufang" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.goufang" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showgoufang=false;pagedata.goset(6,pagedata.member.goufang);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showgoufang=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showgouche" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showgouche=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">购车情况</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-gouche" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.gouche" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showgouche=false;pagedata.goset(6,pagedata.member.gouche);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showgouche=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showxiyan" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showxiyan=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">是否吸烟</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-xiyan" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.xiyan" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showxiyan=false;pagedata.goset(6,pagedata.member.xiyan);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showxiyan=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showhejiu" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showhejiu=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">是否喝酒</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-hejiu" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.hejiu" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showhejiu=false;pagedata.goset(6,pagedata.member.hejiu);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showhejiu=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showjh_time" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showjh_time=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">何时结婚</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-jh_time" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.jh_time" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showjh_time=false;pagedata.goset(6,pagedata.member.jh_time);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showjh_time=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showyouboy" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showyouboy=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">有没有孩子</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-youboy" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.youboy" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showyouboy=false;pagedata.goset(6,pagedata.member.youboy);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showyouboy=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showwanboy" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showwanboy=false"></i>
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-label" style="width:100px;font-size:0.9rem">是否想要孩子</div>
				</div>
				<div class="fui-cell">
				<div class="swiper-container sw-wanboy" style="height: 120px;position: relative;">			
				<div class="swiper-wrapper">
				<div ng-repeat="value in pagedata.wanboy" class="swiper-slide">{{value}}</div>	
				</div>		
				<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
				</div>
				</div>
			</div>
			<button class="weui_btn weui_btn_primary" href="javascript:;" ng-click="pagedata.showwanboy=false;pagedata.goset(6,pagedata.member.wanboy);">提交</button>
			<div class="c" style="color:{{main.syscolor||'#05c175'}};margin-top:0.5rem" ng-click="pagedata.showwanboy=false;pagedata.gonext(6)">跳过</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
if(scope.pagedata.member.islat<=0){
// 百度地图API功能
	window.scope.location(function(re){
			console.log(re)
			var lat_lng = re.lat_lng;
			if(lat_lng.lat){
				scope.pagedata.member.lat_lng=lat_lng
				scope.pagedata.pcd.lat=lat_lng.lat;
				scope.pagedata.pcd.lng=lat_lng.lng;
				scope.pagedata.pcd=re.addressComponents;
				scope.pagedata.pcd.street=scope.pagedata.pcd.street_recommend?scope.pagedata.pcd.street_recommend:scope.pagedata.pcd.street;
				scope.pagedata.pcd.city = scope.pagedata.pcd.city?scope.pagedata.pcd.city:'';
				scope.post_json('jy_ailiao/index/uplat_lng/',scope.pagedata.pcd,function(res){
				});
			}
	});
}
scope.pagedata.goselect=function(name,shownum,isvalue){
	scope.pagedata['show'+name]=true
	shownum=shownum?shownum:3;
	scope.pagedata.nowkey=scope.pagedata.member[name];
	scope.pagedata.lastactiveIndex='no';
	require(['swiper'], function (Swiper) {
			var swiperjy = new Swiper('.sw-'+name, {
					direction: 'vertical',
					autoHeight: true,
					slidesPerView: shownum,
					centeredSlides: true,
					observer: true,
					observeParents: true,
					observeSlideChildren: true,
					on: {
					 transitionEnd:function(){
						if(scope.pagedata.lastactiveIndex!='no' && scope.pagedata.lastactiveIndex!=this.activeIndex){
							scope.pagedata.nowkey=this.activeIndex;
							scope.pagedata.member[name]=this.activeIndex;
							console.log(name+scope.pagedata.nowkey);
						}
						scope.pagedata.lastactiveIndex=this.activeIndex;
					 },
					},
			});
			swiperjy.slideTo(scope.pagedata.nowkey); 
	});
	scope.$evalAsync();
}
scope.pagedata.gonext=function(nowkey){
	var member=scope.pagedata.member
	if(!member.nickname && nowkey<2){
		scope.pagedata.shownickname=true
	}else if(!member.sex && nowkey<3){
		scope.pagedata.showsex=true
	}else if(!member.birth && nowkey<4){
		scope.pagedata.showbirth=true
	}else if(!member.birth && nowkey<5){
		scope.pagedata.showbirth=true
	}else if(!member.nickname && nowkey<6){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<7){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}else if(!member.nickname && nowkey<1){
		scope.pagedata.shownickname=true
	}
	scope.$evalAsync();
}
scope.pagedata.goset=function(nowkey,now){
	if(!now || now==0){
		//return false;
	}
	scope.post_json('/member.myinfo/post/',scope.pagedata.member,function(res){
		scope.pagedata.gonext(nowkey);
	});
}
scope.pagedata.getprovince=function(){
	scope.get('core/member.set/getprovince/',function(res){
		scope.pagedata.province=res.province;
		scope.$evalAsync();
	});
}
scope.pagedata.upimg=function(){
	scope.post_json('/member.myinfo/post/',scope.pagedata.member);
}
</script>